package P_2023_03_12_Polypeptide;

public class PolypeptideTest {
    public static void main(String[] args) {
        Student s = new Student("张三", 23);

        Teacher t = new Teacher("李四", 24);

        Administrator admin = new Administrator("王五", 25);

        register(s);
        register(t);
        register(admin);

    }

    public static void register(Person p) {
        p.show();
    }

}